﻿using System;
using System.Runtime.Serialization;

namespace Ndex.Core.Service
{
    [DataContract]
    public class ServiceMessage
    {
        [DataMember]
        public Guid Id { get; set; }

        public DateTime Time { get; set; }

        public ServiceMessage()
        {
            Id = Guid.NewGuid();
            Time = DateTime.Now;
        }
    }
}
